package com.deifhaw.android;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class Dala3nyActivity extends Activity {
    /** Called when the activity is first created. */
	private Button sendRequestButton;
    @Override
    public void onCreate(Bundle savedInstanceState) 
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        sendRequestButton = (Button) findViewById(R.id.sendRequest);
        sendRequestButton.setOnClickListener(new View.OnClickListener() 
        {
          public void onClick(View v) 
          {
            sendRequest();
          }
        });
    }
    
    private void sendRequest()
    {
    	//Dummy implementation
    	sendRequestButton.setText("Dala3ny Request Sent...");
    	sendRequestButton.setClickable(false);
    	sendRequestButton.setEnabled(false);
    }
}